<?php

class SysUserRoleTable extends Doctrine_Table
{
    public function getUserRoles($user_id) {
        $q = Doctrine_Query::create()->from("SysUserRole")
                ->where("user_id = ?", $user_id);
        return $q->execute();
    }
}
